import axios from '@/utils/http'

//首页上方四个模块============================
//预约管理
const findAppointmentList = "/appointment/management/findAppointmentList"
//患者管理
const getPatients = "/Patient/management/findPatientList";



//药品管理
const drugList = 'drugManagement/drugManagement/findDrugList'




const home = {
    //预约管理
    findAppointmentList(params) {
        return axios.post(findAppointmentList, { params })
    },
    //患者管理
    findPatientList(params) {
        return axios.get(getPatients, { params })
    },


    //药品管理
    getMedList(params) {
        return axios.get(drugList, { params })
    },

}




export default {
    home
}